home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Applications / Convertor / notes < prev   
Text File  |  1998-05-21  |  842b  |  13 lines

  1. Convertor
  2.  
  3. My interest in REALbasic began with a need for a program to interconvert between metric and US units for a technical report I was drafting. This was my first project, and as such contains examples of poor style. However, it does illustrate the use of arrays, buttons, popups, listboxes, and static text in a very elementary way.
  4.  
  5. The code is sparsely documented.
  6.  
  7. My need was for specific kinds of conversions, so I "hardwired" the terms into a arrays so the user cannot change the units without the project. This is poor progamming style, but I ended up with only one file  --> the program. The compiled versions run successfully on a G3 with OS 8.0 (PPC code) amd the 68K code version, on a 2ci with OS7.5.0.
  8.  
  9. In short, here is an example on how NOT TO program. Feel free to improve on it.
  10.  
  11. George S. Ritchie
  12. georgesr@v-wave.com
  13.